// function greeter(person:string) {
//     return "Hello, " + person;
// }
// let user = "212515";
// document.body.innerHTML = greeter(user);
// interface Person {
//     firstName: string;
//     lastName: string;
// }
// function greeter(person: Person) {
//     return "Hello, " + person.firstName + " " + person.lastName;
// }
// let user = { firstName: "Jane", lastName: "User" };
// document.body.innerHTML = greeter(user);
// interface Person {
//     firstName: string;
//     lastName: string;
// }
// function greeter(person: Person) {
//     return "Hello, " + person.firstName + " " + person.lastName;
// }
// let user = { firstName: "Jane", lastName: "User" };
// document.body.innerHTML = greeter(user);
// class Student {
//     fullName: string;
//     constructor(public firstName, public middleInitial, public lastName) {
//         this.fullName = firstName + " " + middleInitial + " " + lastName;
//     }
// }
// interface Person {
//     firstName: string;
//     lastName: string;
// }
// function greeter(person : Person) {
//     return "Hello, " + person.firstName + " " + person.lastName;
// }
// let user = new Student("Jane", "M.", "User");
// document.body.innerHTML = greeter(user);
// let str:string = "string";
// let number:number =12233;
var arrs = [1, 2, 3, 4, 1, 2, 4, 2, 45, 1, 3, 2, 4];
var is = 0;
var arrs1 = [];
for (is; is < arrs.length; is++) {
    if (arrs.indexOf(arrs[is]) == -1) {
        arrs1.push(arrs[is]);
    }
}
console.log(arr1);
